package com.dingdang.feign;

import com.dingdang.data.Result;
import com.dingdang.dto.CarGoodsDTO;
import org.springframework.cloud.openfeign.FeignClient;
import com.dingdang.feign.callback.ReserveFeignCallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(value = "dingdangcar-back-service")
public interface GoodsFeign
{

    @PostMapping("/carGoods/toUpdate")
    Result ToUpdateAdmin(@RequestParam("id") Long id);

    @GetMapping("/carGoods/getIsDelete")
    boolean getIsDelete(@RequestParam("carId") Long id);
}
